package cn.com.dycc.party_org.membership.param;

import java.io.Serializable;
import java.util.Date;

import cn.com.dycc.common.page.BaseEntity;

public class AddMemberShipParam extends BaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2102188896674595886L;
	
	private String info_id;			// 党籍记录ID
	private String user_id;			//党员员工ID
	private String user_name;		//党员员工姓名
	private String dept_id;			//党员员工管理党支部id
	private String dept_name;		//党员员工管理党支部名称
	private String party_type;			//党籍类别 1 预备党员资格  2正式党员  3取消预备党员资格   4劝退出党   5除名  6自行脱党  7不予登记  8开除党籍
	private String party_status;			//党籍状态  1刚入党   2转正   3出党   4停止党籍   5死亡
	private Date membership_date;			//党籍变更时间
	private String membership_string;		//党籍变更时间 string类型
	private String membership_desc;			//党籍变更说明
	private String remark;			//备注
	
	public AddMemberShipParam(){}

	

	

	public AddMemberShipParam(String info_id, String user_id, String user_name, String dept_id, String dept_name,
			String party_type, String party_status, Date membership_date, String membership_string,
			String membership_desc, String remark) {
		super();
		this.info_id = info_id;
		this.user_id = user_id;
		this.user_name = user_name;
		this.dept_id = dept_id;
		this.dept_name = dept_name;
		this.party_type = party_type;
		this.party_status = party_status;
		this.membership_date = membership_date;
		this.membership_string = membership_string;
		this.membership_desc = membership_desc;
		this.remark = remark;
	}


	


	public String getMembership_string() {
		return membership_string;
	}





	public void setMembership_string(String membership_string) {
		this.membership_string = membership_string;
	}





	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getDept_id() {
		return dept_id;
	}

	public void setDept_id(String dept_id) {
		this.dept_id = dept_id;
	}

	public String getDept_name() {
		return dept_name;
	}

	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}

	public String getInfo_id() {
		return info_id;
	}

	public void setInfo_id(String info_id) {
		this.info_id = info_id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getParty_type() {
		return party_type;
	}

	public void setParty_type(String party_type) {
		this.party_type = party_type;
	}

	public String getParty_status() {
		return party_status;
	}

	public void setParty_status(String party_status) {
		this.party_status = party_status;
	}

	public Date getMembership_date() {
		return membership_date;
	}

	public void setMembership_date(Date membership_date) {
		this.membership_date = membership_date;
	}

	public String getMembership_desc() {
		return membership_desc;
	}

	public void setMembership_desc(String membership_desc) {
		this.membership_desc = membership_desc;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "AddMemberShipParam [info_id=" + info_id + ", user_id=" + user_id + ", user_name=" + user_name
				+ ", dept_id=" + dept_id + ", dept_name=" + dept_name + ", party_type=" + party_type + ", party_status="
				+ party_status + ", membership_date=" + membership_date + ", membership_string=" + membership_string
				+ ", membership_desc=" + membership_desc + ", remark=" + remark + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((info_id == null) ? 0 : info_id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AddMemberShipParam other = (AddMemberShipParam) obj;
		if (info_id == null) {
			if (other.info_id != null)
				return false;
		} else if (!info_id.equals(other.info_id))
			return false;
		return true;
	}
	
	
	
	

}
